<?php

namespace App\Http\Controllers\Backend;

use App\Models\Company;

class CompanyController extends BaseController {

    public function index()
    {
        $companies = Company::ofAll()->paginate($this->pagesize);

        return view('backend.company.index')->withCompanies($companies);
    }
}